import {
  Button,
  Cell,
  CellGroup,
  CountDown,
  Dialog,
  Divider,
  Empty,
  Field,
  Form,
  Grid,
  GridItem,
  Icon,
  ImagePreview,
  List,
  NavBar,
  NumberKeyboard,
  Overlay,
  PasswordInput,
  Popup,
  Radio,
  Search,
  Swipe,
  SwipeItem,
  Tab,
  Tabs,
  Tag,
  Toast,
  Uploader,
  PullRefresh,
  Slider,
  Progress,
  Pagination,
  Image as VanImage,
} from 'vant'

export function useVant(app) {
  app.use(Toast)
  app.use(Overlay)
  app.use(Overlay)
  app.use(List)
  app.use(Dialog)
  app.use(Button)
  app.use(NavBar)
  app.use(Icon)
  app.use(Tab)
  app.use(Tabs)
  app.use(Empty)
  app.use(PasswordInput)
  app.use(NumberKeyboard)
  app.use(CountDown)
  app.use(Swipe)
  app.use(SwipeItem)
  app.use(Search)
  app.use(Cell)
  app.use(CellGroup)
  app.use(Grid)
  app.use(GridItem)
  app.use(Popup)
  app.use(Tag)
  app.use(Divider)
  app.use(Field)
  app.use(Uploader)
  app.use(Radio)
  app.use(ImagePreview)
  app.use(Form)
  app.use(PullRefresh)
  app.use(Slider)
  app.use(Progress)
  app.use(Pagination)
  app.use(VanImage)
}
